//
//  UIButton+JwCate.h
//  JwPack
//
//  Created by 陈警卫 on 2022/8/20.
//

#import <UIKit/UIKit.h>

typedef void(^didJwButtonActionBlock)(UIButton *button);

@interface UIButton (JwCate)

/// MARK: 添加点击事件
- (void)jw_addTargetAction:(didJwButtonActionBlock)block;

/// MARK: 添加点击事件
- (void)jw_addTargetAction:(didJwButtonActionBlock)block forControlEvents:(UIControlEvents)controlEvents;

/// MARK: 事件响应
- (void)jw_buttonAction:(UIButton *)button;

@end

